NevronOpenVision
Nevron.Nov Namespace / NStringParser Class / ReadTo Method / ReadTo(Char[],Int32,Int32) Method
The index at which the token starts.
The index at which the token ends, i.e. the index of the char before the stop char or the end position of the parser if no stop char was met.
In This Topic
    ReadTo(Char[],Int32,Int32) Method
    In This Topic
    Reads a token from the current position (inclusive) to the first occurrence of one of the given stop chars (exclusive). The position of the first occurrence of a stop char becomes the new reading position. Returns false if the parser has reached its end position.
    Syntax
    protected System.bool ReadTo( 
       System.char[] stopChars,
       out System.int startIndex,
       out System.int endIndex
    )

    Parameters

    stopChars
    startIndex
    The index at which the token starts.
    endIndex
    The index at which the token ends, i.e. the index of the char before the stop char or the end position of the parser if no stop char was met.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also